//引入Vue
import Vue from 'vue'
//import store from './store'
import store from './jsFile/store/UseVuexApp'
//引入App
import VueRouter from 'vue-router'
import App from './App.vue'


import pluginIndex from './jsFile/plugins'
import router from './jsFile/router'


//关闭Vue的生产提示
Vue.config.productionTip = false
Vue.use(pluginIndex,1,2,3)
Vue.use(VueRouter)


//创建vm
new Vue({
	el:'#app',
	render: h => h(App),
	store,
	router,
	beforeCreate() {
		Vue.prototype.$bus = this //安装全局事件总线，$bus就是当前应用的vm
	}
})